package com.hzbank.dao;


import java.util.List;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import com.hzbank.dto.User;

public interface UserDao extends ElasticsearchRepository<User, Long>{

//	List<User> findByNameAndDescriptionLike(String name, String description);
	List<User> findByNameAndDescriptionLikeOrderByIdDesc(String name, String description);
//	List<User> findByNameLike(String name);


}
